<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">昵称</label>
            <div class="layui-input-block">
                <input type="text" name="user_nickname" class="layui-input" lay-verify="required" placeholder="请输入昵称" value="{$row.user_nickname|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">真实姓名</label>
            <div class="layui-input-block">
                <input type="text" name="user_name" class="layui-input" lay-verify="required" placeholder="请输入真实姓名" value="{$row.user_name|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">身份证号</label>
            <div class="layui-input-block">
                <input type="text" name="card_no" class="layui-input" lay-verify="required" placeholder="请输入身份证号" value="{$row.card_no|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">接单地址</label>
            <div class="layui-input-block">
                <input type="text" name="address" class="layui-input" lay-verify="required" placeholder="请输入接单地址" value="{$row.address|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">等级标签</label>
            <div class="layui-input-block">
                <input type="text" name="user_level" class="layui-input" lay-verify="required" placeholder="请输入等级标签" value="{$row.user_level|default=''}">
                <span style="color: red;">例：白银，黄金，钻石等</span>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">密码</label>
            <div class="layui-input-block">
                <input type="text" name="password" class="layui-input" placeholder="不改不用填" value="">
            </div>
        </div>
        
        <div class="layui-form-item">
            <label class="layui-form-label">手机号</label>
            <div class="layui-input-block">
                <input type="text" name="mobile" readonly="readonly" class="layui-input" lay-verify="required" placeholder="请输入手机号" value="{$row.mobile|default=''}">
            </div>
        </div>
        
        <div class="layui-form-item">
            <label class="layui-form-label required">头像</label>
            <div class="layui-input-block layuimini-upload">
                <input name="avatar" class="layui-input layui-col-xs6" lay-verify="required"  placeholder="请上传头像" value="{$row.avatar|default=''}">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="avatar" data-upload-number="one" data-upload-exts="*image" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_avatar" data-upload-select="avatar" data-upload-number="one" data-upload-mimetype="image/*"><i class="fa fa-list"></i> 选择</a></span>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">展示图</label>
            <div class="layui-input-block layuimini-upload">
                <input name="image" class="layui-input layui-col-xs6" lay-verify="required"  placeholder="请上传展示图" value="{$row.image|default=''}">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="image" data-upload-number="one" data-upload-exts="*image" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_image" data-upload-select="image" data-upload-number="one" data-upload-mimetype="image/*"><i class="fa fa-list"></i> 选择</a></span>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">轮播图</label>
            <div class="layui-input-block layuimini-upload">
                <input name="images" class="layui-input layui-col-xs6" lay-verify="required"  placeholder="请上传轮播图" value="{$row.images|default=''}">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="images" data-upload-number="more" data-upload-exts="*image" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_images" data-upload-select="images" data-upload-number="more" data-upload-mimetype="image/*"><i class="fa fa-list"></i> 选择</a></span>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">性别</label>
            <div class="layui-input-block">
                {foreach $select_list_gender as $k=>$v}
                <input type="radio" name="gender" value="{$k}" title="{$v}" {in name="k" value="$row.gender"}checked=""{/in}>
                {/foreach}
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">起步价</label>
            <div class="layui-input-block">
                <input type="text" name="start_price" class="layui-input" lay-verify="required" placeholder="请输入起步价" value="{$row.start_price|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">特长</label>
            <div class="layui-input-block">
                <div data-toggle="tag-input" data-value="{$row.talent|default=''}" data-placeholder="输入单个内容后，请按回车键" data-name="talent"></div>
                <div class="layui-form-mid layui-word-aux layui-font-red ">输入单个内容后，请按回车键</div>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">体重</label>
            <div class="layui-input-block">
                <input type="text" name="weight" class="layui-input" lay-verify="required" placeholder="请输入体重" value="{$row.weight|default=''}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">身高</label>
            <div class="layui-input-block">
                <input type="text" name="height" class="layui-input" lay-verify="required" placeholder="请输入身高" value="{$row.height|default=''}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">驾龄</label>
            <div class="layui-input-block">
                <input type="text" name="drving_age" class="layui-input" lay-verify="required" placeholder="请输入驾龄" value="{$row.drving_age|default=''}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">在线状态</label>
            <div class="layui-input-block">
                {foreach $select_list_status as $k=>$v}
                <input type="radio" name="online_status" value="{$k}" title="{$v}" {in name="k" value="$row.online_status"}checked=""{/in}>
                {/foreach}
            </div>
        </div>

        <!-- <div class="layui-form-item">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                {foreach $select_list_status as $k=>$v}
                <input type="radio" name="status" value="{$k}" title="{$v}" {in name="k" value="$row.status"}checked=""{/in}>
                {/foreach}
            </div>
        </div> -->

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>